{% load static %}

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>约个球</title>
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1-dist/css/bootstrap.css' %}">
    <style>
        /*取消圆角*/
        .navbar{
            border-radius: 0;
        }

        .test-img-list-model {
             background: #fff;
        }
        .infinite-container {
            overflow: auto;
            padding: 8px 20px;
        }

        .account {
            width: 400px;
            border: 1px solid #dddddd;
            border-radius: 5px;
            box-shadow: 5px 5px 20px #aaa;

            margin-left: auto;
            margin-right: auto;
            margin-top: 100px;
            padding: 20px 40px;
        }

        .account h2 {
            margin-top: 10px;
            text-align: center;
        }
      
        img {
            width: 100%;
            height: 100%;
        }

        <!--取消body的默认边距-->
        body {
            margin: 0;
        }

        .container-schedule {
            width: 700px;
            height: 250px;
            border: red solid 1px;
            margin: 0 auto;  /*表示上下边界为零，左右自动居中*/
            
        }

        .news .schedule-content{
          width: 480px;
          height: 200px;
          border: red solid 1px;
          float: left;
        }

        .news .schedule-image{
          width: 218px;
          height: 200px;
          border: red solid 1px;
          float: left;
        }
        
        .leftfloat{
          float:left;
        }

        .rightfloat{
          float:right;
        }

        .lineheight50{
          line-height: 50px;
        }

        p.normal {font-weight: normal}
        p.thick {font-weight: bold; font-size: large;}

    </style>
</head>
<body>

    <nav class="navbar navbar-default">
      <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" style="padding: 0%;" href="/index/" >
              <img src="/static/img/logn.png" alt="" style="height:50px; width:130px;">
          </a>
        </div>
    
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">首 页 <span class="sr-only">(current)</span></a></li>
          </ul>
          <form class="navbar-form navbar-left">
            <div class="form-group">
              <input type="text" class="form-control" placeholder="输入你的位置查看约球信息">
            </div>
            <button type="submit" class="btn btn-default">
              <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
            </button>
            
          </form>
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#">注 册</a></li>
            <li><a href="#">登 录</a></li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">张 建 <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="#">个人中心</a></li>
                <li><a href="#">约球信息</a></li>
                <li><a href="#">我发布的帖子</a></li>
                <li role="separator" class="divider"></li>
                <li><a href="#">退出</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    </nav>

    <div class="news">

      <div class="container-schedule">
        <div class="schedule-content">
          <p class="thick">农大东田约球</p>
          <p class="normal">时间</p>
          <p class="normal">地点</p>
          <p class="normal">ps：来几个哥们一起打球，交流锻炼</p>
        </div>
        <div class="schedule-image">
          <img src="/static/img/logn.png" alt="">
        </div>
        <div class="schedule-data">
          <div class="leftfloat" style="line-height: 50px;">预约</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">888 浏览</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">55 已预约</div>
          <div class="rightfloat" style="line-height: 50px; margin-left: 80px;">2022-11-30</div>
          <div class="rightfloat" style="line-height: 50px;">curry</div>
        </div>
      </div>

      <div class="container-schedule">
        <div class="schedule-content">
          <p class="thick">农大东田约球</p>
          <p class="normal">时间</p>
          <p class="normal">地点</p>
          <p class="normal">ps：来几个哥们一起打球，交流锻炼</p>
        </div>
        <div class="schedule-image">
          <img src="/static/img/logn.png" alt="">
        </div>
        <div class="schedule-data">
          <div class="leftfloat" style="line-height: 50px;">预约</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">888 浏览</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">55 已预约</div>
          <div class="rightfloat" style="line-height: 50px; margin-left: 80px;">2022-11-30</div>
          <div class="rightfloat" style="line-height: 50px;">curry</div>
        </div>
      </div>

      <div class="container-schedule">
        <div class="schedule-content">
          <p class="thick">农大东田约球</p>
          <p class="normal">时间</p>
          <p class="normal">地点</p>
          <p class="normal">ps：来几个哥们一起打球，交流锻炼</p>
        </div>
        <div class="schedule-image">
          <img src="/static/img/logn.png" alt="">
        </div>
        <div class="schedule-data">
          <div class="leftfloat" style="line-height: 50px;">预约</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">888 浏览</div>
          <div class="leftfloat" style="line-height: 50px; margin-left: 80px;">55 已预约</div>
          <div class="rightfloat" style="line-height: 50px; margin-left: 80px;">2022-11-30</div>
          <div class="rightfloat" style="line-height: 50px;">curry</div>
        </div>
      </div>

    </div>

    <script src="{% static 'js/jquery-3.6.1.js' %}"></script>
    <script src="{% static 'plugins/bootstrap-3.4.1-dist/js/bootstrap.js' %}"></script>
</body>
</html>